#pragma once

#include "stdlib.h"
#include "stdint.h"
#include "port.h"

#ifndef LCD_WIDTH
#define LCD_WIDTH 800
#endif
#ifndef LCD_HEIGHT
#define LCD_HEIGHT 480
#endif
#define LCD_NES_XOFFSET 100
#define LCD_NES_YOFFSET 0
typedef signed char s8_t;
typedef unsigned char u8_t;

typedef signed short s16_t;
typedef unsigned short u16_t;

typedef int32_t s32_t;
typedef uint32_t u32_t;

typedef signed long long s64_t;
typedef unsigned long long u64_t;

typedef signed char s8;
typedef unsigned char u8;

typedef int16_t s16;
typedef uint16_t u16;

typedef int32_t s32;
typedef uint32_t u32;

typedef signed long long s64;
typedef unsigned long long u64;

#define SRAMEX 0
#define SRAMIN 1
